#ifndef MYUTILITY_H
#define MYUTILITY_H
#include<cstdio>
#include<iostream>
using namespace std;
void print_matrix(float* mat,int row,int col)
{
    for(int i=0,k=0; i<row; ++i)
    {
        for(int j=0; j<col; ++j,++k)
            printf("%.3lf ",mat[k]);
        printf("\n");
    }
    return;
}
void splitline()
{
    for(int i=0; i<50; ++i)
    cout <<"-";
    cout << endl;
}
#endif
